import axios from '@/utils/request'

/**
 * 修改密码
 */
export function modifyPwd(data) {
    return axios({
      url:"/v1/auth/modifyPwd",
      method:"post",
      data
    })
}

/**
 * 验证码
 */
export function validCode(data) {
    return axios({
      url:"/v1/auth/validCode/send",
      method:"get",
      params:data
    })
}